<#assign carouseContentsList = getCarouselContentsList(siteId) />
<#if carouseContentsList?? && carouseContentsList?size gt 0>
	<div class="banner">
		<ul class="slider1">
			<#list carouseContentsList as carouselContents>
				<li>
					<#if carouselContents.carouselImage??>
						<img src="${carouselContents.carouselImage?split('|')[0]}"/>
					</#if>
					<div class="writ writ1">
						<h2 class="text-single-ellipsis">
							<span style="color: ${carouselContents.color!'#fff'}">${carouselContents.title!}
							</span>
						</h2>
						<div class="bannerLink clearfloat">
							<a class="bannerMore2" href="${ctxFrt}/${siteId}/view-${carouselContents.columnId!}-${carouselContents.id!}${urlSuffix}"
							   title="查看更多内容" target="_blank">查看更多内容</a>
						</div>
					</div>
				</li>
			</#list>
		</ul>
	</div>
</#if>
